<?php
/**
 *
 * Controller.php
 * User: kalvin
 * Date: 2018/1/30
 * Time: 下午3:32
 */

namespace Core;


class Controller extends \Smarty
{
    public function __construct()
    {
        parent::__construct();
        $templateDir=APP_PATH.$GLOBALS['p'].'/'.'View';
       $this->template_dir=$templateDir;
       $this->compile_dir=ROOT_PATH.'Caching/';
    }
}